MailPoet\Newsletter\NewsletterSaveController A

Total Complexity 64
Dependencies 29
Dependents 3
Total lines 396
Lines of code 259
Logical lines of code 178
Comment lines 36
Methods 11
Properties 16

Methods 11

Method Rating Maintainability Complexity Lines of code
save()
A
46 11 37
updateNewsletter()
A
49 11 32
updateSegments()
A
50 9 30
duplicate()
A
44 7 46
updateQueue()
S
54 6 21
rescheduleIfNeeded()
S
55 6 19
updateOptions()
S
54 5 21
createNewsletter()
S
56 3 18
getNewsletter()
S
64 3 10
__construct()
S
56 1 18
sanitizeAutomationEmailData()
S
69 2 7